﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DPS.Prototype.Model
{
    public class SystemSettings
    {
        private static DateTime _systemStartTime =DateTime.Now;
        private static int _freezenCapacityHours = 24;
        private static int _noChangeOrderHours = 168;
        private static int _workOrderRangeHours = 720;
        private static int _workOrderLeadTimeHours = 24;

        public static DateTime SystemStartTime
        {
            get { return SystemSettings._systemStartTime; }
        }

        public static int FreezenCapacityHours
        {
            get { return SystemSettings._freezenCapacityHours; }
            set{SystemSettings._freezenCapacityHours=value;}
        }

        public static int NoChangeOrderHours
        {
            get{return SystemSettings._noChangeOrderHours;}
            set{SystemSettings._noChangeOrderHours=value;}
        }

        public static int WorkOrderRangeHours
        {
            get{return SystemSettings._workOrderRangeHours;}
            set{SystemSettings._workOrderRangeHours=value;}
        }

        public static int WorkOrderLeadTimeHours
        {
            get { return SystemSettings._workOrderLeadTimeHours; }
            set{SystemSettings._workOrderRangeHours=value;}
        }
    }
}
